package com.zyn.rsgl.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 招聘表
 * </p>
 *
 * @author zyn
 * @since 2024-04-10
 */
@Data
@TableName("recruitment")
public class Recruitment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 职位名称
     */
    @TableField("position_name")
    private String positionName;

    /**
     * 职位要求
     */
    @TableField("position_requirements")
    private String positionRequirements;

    /**
     * 招聘人数
     */
    @TableField("recruitment_number")
    private Integer recruitmentNumber;

    /**
     * 招聘截止日期
     */
    @TableField("recruitment_deadline")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recruitmentDeadline;

    /**
     * 応募者信息
     */
    @TableField("applicant_information")
    private String applicantInformation;

    /**
     * 简历筛选
     */
    @TableField("resume_screening")
    private String resumeScreening;

    /**
     * 面试安排
     */
    @TableField("interview_arrangement")
    private String interviewArrangement;

    /**
     * 面试结果
     */
    @TableField("interview_result")
    private String interviewResult;

    /**
     * 创建时间
     */
    @TableField("created_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @TableField("updated_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;


}
